package com.industrial.governance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 质量规则管理对象 dg_quality_rule_management
 *
 * @author SangGuangCan
 * @date 2024-03-01
 */
public class DgQualityRuleManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String baseId;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String ruleName;

    /** 规则类型 */
    @Excel(name = "规则类型")
    private String ruleType;

    /** 告警级别 */
    @Excel(name = "告警级别")
    private String waringLevel;

    /** 规则状态 */
    @Excel(name = "规则状态")
    private String ruleStatus;

    /** 创建时间 */
    private Date baseCreateTime;

    /** 创建人 */
    private String baseCreateBy;

    /** 更新时间 */
    private Date baseUpdateTime;

    /** 更新人 */
    private String baseUpdateBy;

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId()
    {
        return baseId;
    }
    public void setRuleName(String ruleName)
    {
        this.ruleName = ruleName;
    }

    public String getRuleName()
    {
        return ruleName;
    }
    public void setRuleType(String ruleType)
    {
        this.ruleType = ruleType;
    }

    public String getRuleType()
    {
        return ruleType;
    }
    public void setWaringLevel(String waringLevel)
    {
        this.waringLevel = waringLevel;
    }

    public String getWaringLevel()
    {
        return waringLevel;
    }
    public void setRuleStatus(String ruleStatus)
    {
        this.ruleStatus = ruleStatus;
    }

    public String getRuleStatus()
    {
        return ruleStatus;
    }
    public void setBaseCreateTime(Date baseCreateTime)
    {
        this.baseCreateTime = baseCreateTime;
    }

    public Date getBaseCreateTime()
    {
        return baseCreateTime;
    }
    public void setBaseCreateBy(String baseCreateBy)
    {
        this.baseCreateBy = baseCreateBy;
    }

    public String getBaseCreateBy()
    {
        return baseCreateBy;
    }
    public void setBaseUpdateTime(Date baseUpdateTime)
    {
        this.baseUpdateTime = baseUpdateTime;
    }

    public Date getBaseUpdateTime()
    {
        return baseUpdateTime;
    }
    public void setBaseUpdateBy(String baseUpdateBy)
    {
        this.baseUpdateBy = baseUpdateBy;
    }

    public String getBaseUpdateBy()
    {
        return baseUpdateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("baseId", getBaseId())
                .append("ruleName", getRuleName())
                .append("ruleType", getRuleType())
                .append("waringLevel", getWaringLevel())
                .append("ruleStatus", getRuleStatus())
                .append("baseCreateTime", getBaseCreateTime())
                .append("baseCreateBy", getBaseCreateBy())
                .append("baseUpdateTime", getBaseUpdateTime())
                .append("baseUpdateBy", getBaseUpdateBy())
                .toString();
    }
}
